// 图书分类接口

import Mock from 'mockjs'

let category = Mock.mock([{
        "id": Mock.Random.increment(),
        "name": "Java EE",
        "root": true,
        "parentId": null,
        "children|3": [{
            "id": "@increment",
            "name": "Java",
            "root": true,
            "parentId": null,
            "children": []
        }, ]
    },
    {
        "id": Mock.Random.increment(),
        "name": "程序设计",
        "root": true,
        "parentId": null,
        "children|3": [{
            "id": "@increment",
            "name": "Java",
            "root": true,
            "parentId": null,
            "children": []
        }, ]
    },
]);
const Category = {
    category
}


export default Category